'use strict';

/**
 * @ngdoc function
 * @name payPcApp.controller:AboutCtrl
 * @description
 * # AboutCtrl
 * Controller of the payPcApp
 */
angular.module('payPcApp')
    .controller('hotlendCtrl', function($scope, hotlend_model) {
        $scope.hotlend = {};
        hotlend_model.gethotlend().success(function(resp) {
            console.log(resp);
            if (!resp.statusCode) {
                $scope.hotlend = resp.list;
            };
        });
        hotlend_model.gethotcol().success(function(resp) {
            console.log(resp);
            if (!resp.statusCode) {
                $scope.hotcol = resp.list;
            };
        })

    });